.class public Lcom/glympse/android/glympse/ViewHistory$TicketAdapter;
.super Landroid/widget/ArrayAdapter;
.source "ViewHistory.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/glympse/android/glympse/ViewHistory;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x4
    name = "TicketAdapter"
.end annotation

.annotation system Ldalvik/annotation/Signature;
    value = {
        "Landroid/widget/ArrayAdapter",
        "<",
        "Lcom/glympse/android/glympse/ViewHistory$TicketCell;",
        ">;"
    }
.end annotation


# instance fields
.field private m_oLayoutInflater:Landroid/view/LayoutInflater;

.field final synthetic this$0:Lcom/glympse/android/glympse/ViewHistory;


# direct methods
.method public constructor <init>(Lcom/glympse/android/glympse/ViewHistory;Landroid/content/Context;Ljava/util/ArrayList;)V
    .locals 1
    .parameter
    .parameter "oContext"
    .parameter
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Landroid/content/Context;",
            "Ljava/util/ArrayList",
            "<",
            "Lcom/glympse/android/glympse/ViewHistory$TicketCell;",
            ">;)V"
        }
    .end annotation

    .prologue
    .line 787
    .local p3, listTicketCells:Ljava/util/ArrayList;,"Ljava/util/ArrayList<Lcom/glympse/android/glympse/ViewHistory$TicketCell;>;"
    iput-object p1, p0, Lcom/glympse/android/glympse/ViewHistory$TicketAdapter;->this$0:Lcom/glympse/android/glympse/ViewHistory;

    .line 785
    const/4 v0, 0x0

    invoke-direct {p0, p2, v0, p3}, Landroid/widget/ArrayAdapter;-><init>(Landroid/content/Context;ILjava/util/List;)V

    .line 780
    const/4 v0, 0x0

    iput-object v0, p0, Lcom/glympse/android/glympse/ViewHistory$TicketAdapter;->m_oLayoutInflater:Landroid/view/LayoutInflater;

    .line 786
    invoke-static {p2}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object v0

    iput-object v0, p0, Lcom/glympse/android/glympse/ViewHistory$TicketAdapter;->m_oLayoutInflater:Landroid/view/LayoutInflater;

    return-void
.end method


# virtual methods
.method public getView(ILandroid/view/View;Landroid/view/ViewGroup;)Landroid/view/View;
    .locals 2
    .parameter "nPosition"
    .parameter "oView"
    .parameter "oParent"

    .prologue
    .line 792
    invoke-virtual {p0, p1}, Lcom/glympse/android/glympse/ViewHistory$TicketAdapter;->getItem(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/glympse/android/glympse/ViewHistory$TicketCell;

    iget-object v1, p0, Lcom/glympse/android/glympse/ViewHistory$TicketAdapter;->m_oLayoutInflater:Landroid/view/LayoutInflater;

    invoke-static {v0, v1}, Lcom/glympse/android/glympse/ViewHistory$TicketCell;->access$2(Lcom/glympse/android/glympse/ViewHistory$TicketCell;Landroid/view/LayoutInflater;)Landroid/view/View;

    move-result-object v0

    return-object v0
.end method
